package com.sys.pojo;

import java.util.Date;

public class Person {

	private  int id;
	private String  username;
	private int age;
	private char sex;
	private Date birthday;
	private String np;
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public int getAge() {
		return age;
	}
	public void setAge(int age) {
		this.age = age;
	}
	public char getSex() {
		return sex;
	}
	public void setSex(char sex) {
		this.sex = sex;
	}
	public Date getBirthday() {
		return birthday;
	}
	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}
	public String getNp() {
		return np;
	}
	public void setNp(String np) {
		this.np = np;
	}
	
	public Person(int id, String username, int age, char sex, Date birthday, String np) {
		super();
		this.id = id;
		this.username = username;
		this.age = age;
		this.sex = sex;
		this.birthday = birthday;
		this.np = np;
	}
	@Override
	public String toString() {
		return "Person [id=" + id + ", username=" + username + ", age=" + age + ", sex=" + sex + ", birthday="
				+ birthday + ", np=" + np + "]";
	}
	public Person() {
		super();
		// TODO Auto-generated constructor stub
	}
	
}
